package com.zhixiang.xaec.service.system.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.zhixiang.core.dao.BaseDao;
import com.zhixiang.core.service.impl.BaseServiceImpl;
import com.zhixiang.xaec.dao.system.StoreRoomDao;
import com.zhixiang.xaec.entity.system.StoreRoom;
import com.zhixiang.xaec.service.system.StoreRoomService;
@Service
public class StoreRoomServiceImpl extends BaseServiceImpl<StoreRoom, Long>
implements  StoreRoomService
{

    @Override
    @Resource(type=StoreRoomDao.class)
    public void setBaseDao(BaseDao<StoreRoom, Long> dao)
    {
        setDao(dao);
    }

    @Override
    public String delete(String[] ids)
    {
        for(String id:ids){
            getDao().remove(Long.valueOf(id));
        }
         return null;
    }

}
